<template>
    <div>社区
        <form action="javascript:return true;">
            <input @keyup.13=show() type="search" ref="input1">
        </form>
    </div>

</template>
<script>
export default {
    methods:{
        show(){
            this.$refs.input1.blur();
        }
    }
}
</script>